An election in which voters choose candidates to run on a party's ticket in a subsequent election for public office.